<template>
  <view>
    <view class="title"
      >您好，欢迎您的咨询，轻按提示输入您的信息，然后点击开始对话。</view
    >
    <view class="uName">
      <view class="prefix" >姓名 :</view>
      <input class="p-input" type="text" placeholder="(必填)"/>
    </view>
    <view class="uPhone">
      <view class="prefix" >手机 :</view>
      <input class="p-input" placeholder="(必填)" type="text" :input="limitNum" />
    </view>
    <button class="but" type="submit">提交咨询</button>
  </view>
</template>

<script>
import'./index.css'
export default {
    data(){
        return{
            
        }
        
    },
    methods:{
        limitNum() {
    let textReg = /^(?:(?:\+|00)86)?1\d{10}$/
    this.clickCount = this.clickCount.replace(textReg, '')
  }
    }
}
</script>

<style>
</style>